<html>
    <head>
        <title>Вход в систему</title>
        <link type="text/css" href="/css/admin/box.css" rel="stylesheet" media="screen" />
    </head>
    <body>
        <table style="width:100%; height:100%;"><tr><td style="text-align:center; vertical-align:middle">
        <form action="<?= $_SERVER['PHP_SELF']?>" method="POST">
        <div class="box" style="width:300px;">
            <div class="title">Вход в систему</div>            
            <?
                if(isset($errors)){
                    echo "<div class=\"errors\"><ul>";
                    foreach($errors as $error) {
                        echo "<li>$error</li>";
                    }
                    echo "</ul></div>";
                }
            ?>            
            <div class="line"><span style="width:70px;">Логин:</span><input style="width:170px;" type="text" name="login"/></div>
            <div class="line"><span style="width:70px;">Пароль:</span><input style="width:170px;" type="password" name="password"/></div>
            <div class="toolbar">
                <input type="submit" value="Войти">
            </div>            
        </div>
        </form>
        </td></tr></table>
    </body>
</html>